package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "ListResponse")
public class ListResponse extends Command{

    @XmlElement(required = true)
    private String names[];
    @XmlElement(required = true)
    private int sides[];
    @XmlElement(required = true)
    private int gamesID[];
    
    public ListResponse() {
    	id = 9; 
    }
    
    public void setNames(String names[]){
        this.names = names;
    }
                               
    public String[] getNames(){
        return this.names;
    }

    public void setSides(int sides[]){
        this.sides = sides;
    }

    public int[] getSides(){
        return this.sides;
    }

	public int[] getGamesID() {
		return gamesID;
	}

	public void setGamesID(int gamesID[]) {
		this.gamesID = gamesID;
	}
    
}
